<% folder = grab_attributes(pwd)['folder'] -%>
describe.one do
  google_resourcemanager_folders(parent: <%= doc_generation ? "'organizations/12345'" : "\"organizations/\#{gcp_organization_id}\"" -%>).names.each do |name|
    describe google_resourcemanager_folder(name: name) do
      it { should exist }
      its('display_name') { should eq <%= doc_generation ? "'#{folder['display_name']}'" : "folder['display_name']" -%> }
    end
  end
end